#ifndef __TITLELOADING_SCENE_H__
#define __TITLELOADING_SCENE_H__

#include "cocos2d.h"
#include "Audio.h"
#include "debug.h"
#include "UI.h"
#include "UISceneSwitcher.h"
#include "SceneMainMenu.h"

USING_NS_CC;

class SceneTitleLoading : public cocos2d::Layer
{
	public:
	static cocos2d::Scene* createScene();
	virtual bool init();

	Label* info;
	bool isInit = false;

	//Scene scheme
	void createLogo();
	void createDB(Label* labelInfo = nullptr);

	//Music Select Function

	//implement the "static create()" method manually
	CREATE_FUNC(SceneTitleLoading);

	private:

	//Scene Shift Action
	void update(float dt) override;
	void gotoMainMenuScene();

	//debug
	void debugMsg();
};

#endif